﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class SceneManage : MonoBehaviour {
    private Scene start;
    private Scene play;
    private Scene end;
    private Scene currentScene;
    private void Awake()
    {
        start = SceneManager.GetSceneByName("Start");
        play = SceneManager.GetSceneByName("Play");
        end = SceneManager.GetSceneByName("End");
    }
    public void LoadStart()
    {
        SceneManager.LoadScene("Start");
    }
    public void LoadPlay()
    {
        SceneManager.LoadScene("Start");
    }
    public void LoadEnd()
    {
        SceneManager.LoadScene("End");
    }
}
